package com.study.design.pattern.pattern.behavioral.interpreter;

import java.util.HashMap;
import java.util.Map;

/**
 * @Author: gongsl
 * @Date: 2025-03-23 16:16
 * @description: 上下文类
 */
public class SQLContext {
    private Map<String, Object> rowData = new HashMap<>();

    public void put(String field, Object value) {
        rowData.put(field, value);
    }

    public Object get(String field) {
        return rowData.get(field);
    }
}
